﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace TK.Socket
{
    /// <summary>
    /// 完整包数据接收接口
    /// </summary>
    public interface IReceiveDataHandler
    {
        /// <summary>
        /// 数据接收
        /// </summary>
        /// <param name="data">实际数据</param>
        Task ReceiveData(DataPacket data);
    }
}
